package com.gfm.story.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gfm.story.entity.story.Book;
import com.gfm.story.entity.story.Category;

import java.util.List;
import java.util.Map;

/**
 * @BelongsProject: story
 * @BelongsPackage: com.gfm.story.dao
 * @Author: Administrator
 * @CreateTime: 2019-06-03 16:15
 * @Description: ${Description}
 */
public interface CategoryDao extends BaseMapper<Category> {


    List<Book> getBookPageByCategoryId(Map<String, Object> map);

    int getBookCountByCategoryId(Map<String, Object> map);
}
